package com.sysh.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * ClassName:  <br/>
 * Function: 首页具体显示美食店铺详细内容<br/>
 * date: 2018年01月17日  <br/>
 *
 * @author 苏积钰
 * @since JDK 1.8
 */
public class Restaurants implements Serializable{

    private Integer restaurantId;//主键
    private String restaurantImg;//图片路径
    private String restaurantUrl;//图片路径
    private String restaurantName;//图片名称
    private Date restaurantTime;//更新时间
    //转换之后的时间，可用于前端显示
    private String restaurantDate;


    private String restaurantIcon;//星级评价图片路径
    private String restaurantVal;//图片内容详解
    private Integer restaurantEvaluateNumber;//美食评价数量

    public Restaurants(Integer restaurantId, String restaurantImg, String restaurantUrl, String restaurantName, Date restaurantTime, String restaurantDate, String restaurantIcon, String restaurantVal, Integer restaurantEvaluateNumber) {
        this.restaurantId = restaurantId;
        this.restaurantImg = restaurantImg;
        this.restaurantUrl = restaurantUrl;
        this.restaurantName = restaurantName;
        this.restaurantTime = restaurantTime;
        this.restaurantDate = restaurantDate;
        this.restaurantIcon = restaurantIcon;
        this.restaurantVal = restaurantVal;
        this.restaurantEvaluateNumber = restaurantEvaluateNumber;
    }

    public Restaurants() {
        super();
    }

    public Integer getRestaurantId() {
        return restaurantId;
    }

    public void setRestaurantId(Integer restaurantId) {
        this.restaurantId = restaurantId;
    }

    public String getRestaurantImg() {
        return restaurantImg;
    }

    public void setRestaurantImg(String restaurantImg) {
        this.restaurantImg = restaurantImg;
    }

    public String getRestaurantUrl() {
        return restaurantUrl;
    }

    public void setRestaurantUrl(String restaurantUrl) {
        this.restaurantUrl = restaurantUrl;
    }

    public String getRestaurantName() {
        return restaurantName;
    }

    public void setRestaurantName(String restaurantName) {
        this.restaurantName = restaurantName;
    }

    public Date getRestaurantTime() {
        return restaurantTime;
    }

    public void setRestaurantTime(Date restaurantTime) {
        this.restaurantTime = restaurantTime;
    }

    public String getRestaurantDate() {
        return restaurantDate;
    }

    public void setRestaurantDate(String restaurantDate) {
        this.restaurantDate = restaurantDate;
    }

    public String getRestaurantIcon() {
        return restaurantIcon;
    }

    public void setRestaurantIcon(String restaurantIcon) {
        this.restaurantIcon = restaurantIcon;
    }

    public String getRestaurantVal() {
        return restaurantVal;
    }

    public void setRestaurantVal(String restaurantVal) {
        this.restaurantVal = restaurantVal;
    }

    public Integer getRestaurantEvaluateNumber() {
        return restaurantEvaluateNumber;
    }

    public void setRestaurantEvaluateNumber(Integer restaurantEvaluateNumber) {
        this.restaurantEvaluateNumber = restaurantEvaluateNumber;
    }

    @Override
    public String toString() {
        return "Restaurants{" +
                "restaurantId=" + restaurantId +
                ", restaurantImg='" + restaurantImg + '\'' +
                ", restaurantUrl='" + restaurantUrl + '\'' +
                ", restaurantName='" + restaurantName + '\'' +
                ", restaurantTime=" + restaurantTime +
                ", restaurantDate='" + restaurantDate + '\'' +
                ", restaurantIcon='" + restaurantIcon + '\'' +
                ", restaurantVal='" + restaurantVal + '\'' +
                ", restaurantEvaluateNumber=" + restaurantEvaluateNumber +
                '}';
    }
}
